projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24ef62
)
Avoid a compiler warning
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jun 2014 18:17:24 +0000
(14:17 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 20 Jun 2014 19:54:51 +0000
(15:54 -0400)
The name_offset variable is indeed unused.
gtk/gtkiconcache.c
patch
|
blob
|
history
diff --git
a/gtk/gtkiconcache.c
b/gtk/gtkiconcache.c
index d19c0a9188744b6e36dc65bc201bb68f0f62c422..091091e8cb8f9d7093343d8c55814f6e4e6b240a 100644
(file)
--- a/
gtk/gtkiconcache.c
+++ b/
gtk/gtkiconcache.c
@@
-323,8
+323,6
@@
_gtk_icon_cache_has_icons (GtkIconCache *cache,
chain_offset = GET_UINT32 (cache->buffer, hash_offset + 4 + 4 * i);
while (chain_offset != 0xffffffff)
{
- guint32 name_offset = GET_UINT32 (cache->buffer, chain_offset + 4);
-
image_list_offset = GET_UINT32 (cache->buffer, chain_offset + 8);
n_images = GET_UINT32 (cache->buffer, image_list_offset);